package com.maomao.admin.domain.system.entry;

import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 角色和菜单关联 sys_role_menu
 *
 * @author mao.kaiyin
 */
@Entity
@Table(name = "sys_role_menu")
public class SysRoleMenu {

    @EmbeddedId
    @Id
    private RoleMenuPk id;

    public RoleMenuPk getId() {
        return id;
    }

    public void setId(RoleMenuPk id) {
        this.id = id;
    }
}
